﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using DAL;
using Business;

namespace Populate
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.Write("Start\n");

            Category c1 = new Category() { Name = "DotNEt", Description = "POURRI" };
            CategoriesManager.Add(c1);

            Category c2 = new Category() { Name = "JAVA", Description = "pouquoi pas ..." };
            CategoriesManager.Add(c2);

            Article a1 = new Article() {Title = "premier", Content = "YOUHOU", CategorieID = 1};
            ArticlesManager.Add(a1);

            Article a2 = new Article() { Title = "JAVAAA", Content = "Multi Plateforme", CategorieID = 2};
            ArticlesManager.Add(a2);

            Comment com = new Comment() { Content = "Je surkiff ton article", Email = "supinfo@supinfo.com", ArticleID = 1 };
            CommentsManager.Add(com);

        }
    }
}
